﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Test" targetNamespace="http://tempuri.org/Test.xsd" xmlns:mstns="http://tempuri.org/Test.xsd" xmlns="http://tempuri.org/Test.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SurveyDevConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SurveyDevConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Votations.NSurvey.BE.Properties.Settings.GlobalReference.Default.SurveyDevConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="vts_tbQuestionTableAdapter" GeneratorDataComponentClassName="vts_tbQuestionTableAdapter" Name="vts_tbQuestion" UserDataComponentName="vts_tbQuestionTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SurveyDevConnectionString (Settings)" DbObjectName="SurveyDev.dbo.vts_tbQuestion" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[vts_tbQuestion] WHERE (([QuestionId] = @Original_QuestionId) AND ((@IsNull_ParentQuestionId = 1 AND [ParentQuestionId] IS NULL) OR ([ParentQuestionId] = @Original_ParentQuestionId)) AND ((@IsNull_SurveyId = 1 AND [SurveyId] IS NULL) OR ([SurveyId] = @Original_SurveyId)) AND ((@IsNull_LibraryId = 1 AND [LibraryId] IS NULL) OR ([LibraryId] = @Original_LibraryId)) AND ((@IsNull_LayoutModeId = 1 AND [LayoutModeId] IS NULL) OR ([LayoutModeId] = @Original_LayoutModeId)) AND ((@IsNull_SelectionModeId = 1 AND [SelectionModeId] IS NULL) OR ([SelectionModeId] = @Original_SelectionModeId)) AND ((@IsNull_ColumnsNumber = 1 AND [ColumnsNumber] IS NULL) OR ([ColumnsNumber] = @Original_ColumnsNumber)) AND ((@IsNull_QuestionText = 1 AND [QuestionText] IS NULL) OR ([QuestionText] = @Original_QuestionText)) AND ((@IsNull_DisplayOrder = 1 AND [DisplayOrder] IS NULL) OR ([DisplayOrder] = @Original_DisplayOrder)) AND ((@IsNull_MinSelectionRequired = 1 AND [MinSelectionRequired] IS NULL) OR ([MinSelectionRequired] = @Original_MinSelectionRequired)) AND ((@IsNull_MaxSelectionAllowed = 1 AND [MaxSelectionAllowed] IS NULL) OR ([MaxSelectionAllowed] = @Original_MaxSelectionAllowed)) AND ([RatingEnabled] = @Original_RatingEnabled) AND ([RandomizeAnswers] = @Original_RandomizeAnswers) AND ((@IsNull_PageNumber = 1 AND [PageNumber] IS NULL) OR ([PageNumber] = @Original_PageNumber)) AND ((@IsNull_QuestionPipeAlias = 1 AND [QuestionPipeAlias] IS NULL) OR ([QuestionPipeAlias] = @Original_QuestionPipeAlias)) AND ((@IsNull_QuestionIdText = 1 AND [QuestionIdText] IS NULL) OR ([QuestionIdText] = @Original_QuestionIdText)) AND ((@IsNull_HelpText = 1 AND [HelpText] IS NULL) OR ([HelpText] = @Original_HelpText)) AND ((@IsNull_Alias = 1 AND [Alias] IS NULL) OR ([Alias] = @Original_Alias)) AND ((@IsNull_QuestionGroupID = 1 AND [QuestionGroupID] IS NULL) OR ([QuestionGroupID] = @Original_QuestionGroupID)) AND ((@IsNull_ShowHelpText = 1 AND [ShowHelpText] IS NULL) OR ([ShowHelpText] = @Original_ShowHelpText)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ParentQuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ParentQuestionId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ParentQuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ParentQuestionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SurveyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SurveyId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SurveyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SurveyId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LibraryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LibraryId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LibraryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LibraryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LayoutModeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LayoutModeId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LayoutModeId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LayoutModeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SelectionModeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SelectionModeId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_SelectionModeId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SelectionModeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ColumnsNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColumnsNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ColumnsNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColumnsNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QuestionText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_QuestionText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MinSelectionRequired" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinSelectionRequired" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MinSelectionRequired" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinSelectionRequired" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MaxSelectionAllowed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MaxSelectionAllowed" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MaxSelectionAllowed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MaxSelectionAllowed" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_RatingEnabled" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RatingEnabled" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_RandomizeAnswers" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RandomizeAnswers" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PageNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PageNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PageNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PageNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QuestionPipeAlias" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionPipeAlias" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_QuestionPipeAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionPipeAlias" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QuestionIdText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionIdText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_QuestionIdText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionIdText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_HelpText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HelpText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_HelpText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="HelpText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Alias" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Alias" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Alias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Alias" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QuestionGroupID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionGroupID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuestionGroupID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionGroupID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ShowHelpText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShowHelpText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ShowHelpText" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ShowHelpText" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[vts_tbQuestion] ([ParentQuestionId], [SurveyId], [LibraryId], [LayoutModeId], [SelectionModeId], [ColumnsNumber], [QuestionText], [DisplayOrder], [MinSelectionRequired], [MaxSelectionAllowed], [RatingEnabled], [RandomizeAnswers], [PageNumber], [QuestionPipeAlias], [QuestionIdText], [HelpText], [Alias], [QuestionGroupID], [ShowHelpText]) VALUES (@ParentQuestionId, @SurveyId, @LibraryId, @LayoutModeId, @SelectionModeId, @ColumnsNumber, @QuestionText, @DisplayOrder, @MinSelectionRequired, @MaxSelectionAllowed, @RatingEnabled, @RandomizeAnswers, @PageNumber, @QuestionPipeAlias, @QuestionIdText, @HelpText, @Alias, @QuestionGroupID, @ShowHelpText);
SELECT QuestionId, ParentQuestionId, SurveyId, LibraryId, LayoutModeId, SelectionModeId, ColumnsNumber, QuestionText, DisplayOrder, MinSelectionRequired, MaxSelectionAllowed, RatingEnabled, RandomizeAnswers, PageNumber, QuestionPipeAlias, QuestionIdText, HelpText, Alias, QuestionGroupID, ShowHelpText FROM vts_tbQuestion WHERE (QuestionId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ParentQuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ParentQuestionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SurveyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SurveyId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@LibraryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LibraryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LayoutModeId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LayoutModeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@SelectionModeId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SelectionModeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ColumnsNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColumnsNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@QuestionText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MinSelectionRequired" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinSelectionRequired" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MaxSelectionAllowed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MaxSelectionAllowed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@RatingEnabled" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RatingEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@RandomizeAnswers" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RandomizeAnswers" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PageNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PageNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@QuestionPipeAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionPipeAlias" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@QuestionIdText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionIdText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@HelpText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="HelpText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Alias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Alias" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuestionGroupID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionGroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ShowHelpText" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ShowHelpText" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT QuestionId, ParentQuestionId, SurveyId, LibraryId, LayoutModeId, SelectionModeId, ColumnsNumber, QuestionText, DisplayOrder, MinSelectionRequired, MaxSelectionAllowed, RatingEnabled, RandomizeAnswers, PageNumber, QuestionPipeAlias, QuestionIdText, HelpText, Alias, QuestionGroupID, ShowHelpText FROM dbo.vts_tbQuestion</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[vts_tbQuestion] SET [ParentQuestionId] = @ParentQuestionId, [SurveyId] = @SurveyId, [LibraryId] = @LibraryId, [LayoutModeId] = @LayoutModeId, [SelectionModeId] = @SelectionModeId, [ColumnsNumber] = @ColumnsNumber, [QuestionText] = @QuestionText, [DisplayOrder] = @DisplayOrder, [MinSelectionRequired] = @MinSelectionRequired, [MaxSelectionAllowed] = @MaxSelectionAllowed, [RatingEnabled] = @RatingEnabled, [RandomizeAnswers] = @RandomizeAnswers, [PageNumber] = @PageNumber, [QuestionPipeAlias] = @QuestionPipeAlias, [QuestionIdText] = @QuestionIdText, [HelpText] = @HelpText, [Alias] = @Alias, [QuestionGroupID] = @QuestionGroupID, [ShowHelpText] = @ShowHelpText WHERE (([QuestionId] = @Original_QuestionId) AND ((@IsNull_ParentQuestionId = 1 AND [ParentQuestionId] IS NULL) OR ([ParentQuestionId] = @Original_ParentQuestionId)) AND ((@IsNull_SurveyId = 1 AND [SurveyId] IS NULL) OR ([SurveyId] = @Original_SurveyId)) AND ((@IsNull_LibraryId = 1 AND [LibraryId] IS NULL) OR ([LibraryId] = @Original_LibraryId)) AND ((@IsNull_LayoutModeId = 1 AND [LayoutModeId] IS NULL) OR ([LayoutModeId] = @Original_LayoutModeId)) AND ((@IsNull_SelectionModeId = 1 AND [SelectionModeId] IS NULL) OR ([SelectionModeId] = @Original_SelectionModeId)) AND ((@IsNull_ColumnsNumber = 1 AND [ColumnsNumber] IS NULL) OR ([ColumnsNumber] = @Original_ColumnsNumber)) AND ((@IsNull_QuestionText = 1 AND [QuestionText] IS NULL) OR ([QuestionText] = @Original_QuestionText)) AND ((@IsNull_DisplayOrder = 1 AND [DisplayOrder] IS NULL) OR ([DisplayOrder] = @Original_DisplayOrder)) AND ((@IsNull_MinSelectionRequired = 1 AND [MinSelectionRequired] IS NULL) OR ([MinSelectionRequired] = @Original_MinSelectionRequired)) AND ((@IsNull_MaxSelectionAllowed = 1 AND [MaxSelectionAllowed] IS NULL) OR ([MaxSelectionAllowed] = @Original_MaxSelectionAllowed)) AND ([RatingEnabled] = @Original_RatingEnabled) AND ([RandomizeAnswers] = @Original_RandomizeAnswers) AND ((@IsNull_PageNumber = 1 AND [PageNumber] IS NULL) OR ([PageNumber] = @Original_PageNumber)) AND ((@IsNull_QuestionPipeAlias = 1 AND [QuestionPipeAlias] IS NULL) OR ([QuestionPipeAlias] = @Original_QuestionPipeAlias)) AND ((@IsNull_QuestionIdText = 1 AND [QuestionIdText] IS NULL) OR ([QuestionIdText] = @Original_QuestionIdText)) AND ((@IsNull_HelpText = 1 AND [HelpText] IS NULL) OR ([HelpText] = @Original_HelpText)) AND ((@IsNull_Alias = 1 AND [Alias] IS NULL) OR ([Alias] = @Original_Alias)) AND ((@IsNull_QuestionGroupID = 1 AND [QuestionGroupID] IS NULL) OR ([QuestionGroupID] = @Original_QuestionGroupID)) AND ((@IsNull_ShowHelpText = 1 AND [ShowHelpText] IS NULL) OR ([ShowHelpText] = @Original_ShowHelpText)));
SELECT QuestionId, ParentQuestionId, SurveyId, LibraryId, LayoutModeId, SelectionModeId, ColumnsNumber, QuestionText, DisplayOrder, MinSelectionRequired, MaxSelectionAllowed, RatingEnabled, RandomizeAnswers, PageNumber, QuestionPipeAlias, QuestionIdText, HelpText, Alias, QuestionGroupID, ShowHelpText FROM vts_tbQuestion WHERE (QuestionId = @QuestionId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ParentQuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ParentQuestionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SurveyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SurveyId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@LibraryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LibraryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LayoutModeId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LayoutModeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@SelectionModeId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SelectionModeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ColumnsNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColumnsNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@QuestionText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MinSelectionRequired" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinSelectionRequired" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MaxSelectionAllowed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MaxSelectionAllowed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@RatingEnabled" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RatingEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@RandomizeAnswers" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RandomizeAnswers" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PageNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PageNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@QuestionPipeAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionPipeAlias" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@QuestionIdText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionIdText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@HelpText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="HelpText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Alias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Alias" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuestionGroupID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionGroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ShowHelpText" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ShowHelpText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ParentQuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ParentQuestionId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ParentQuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ParentQuestionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SurveyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SurveyId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SurveyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SurveyId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LibraryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LibraryId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LibraryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LibraryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LayoutModeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LayoutModeId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LayoutModeId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LayoutModeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SelectionModeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SelectionModeId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_SelectionModeId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SelectionModeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ColumnsNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColumnsNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ColumnsNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ColumnsNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QuestionText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_QuestionText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MinSelectionRequired" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinSelectionRequired" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MinSelectionRequired" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinSelectionRequired" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MaxSelectionAllowed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MaxSelectionAllowed" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MaxSelectionAllowed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MaxSelectionAllowed" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_RatingEnabled" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RatingEnabled" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_RandomizeAnswers" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RandomizeAnswers" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PageNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PageNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PageNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PageNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QuestionPipeAlias" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionPipeAlias" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_QuestionPipeAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionPipeAlias" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QuestionIdText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionIdText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_QuestionIdText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="QuestionIdText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_HelpText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HelpText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_HelpText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="HelpText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Alias" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Alias" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Alias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Alias" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QuestionGroupID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionGroupID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuestionGroupID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionGroupID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ShowHelpText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShowHelpText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ShowHelpText" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ShowHelpText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="QuestionId" ColumnName="QuestionId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuestionId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="QuestionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="QuestionId" DataSetColumn="QuestionId" />
              <Mapping SourceColumn="ParentQuestionId" DataSetColumn="ParentQuestionId" />
              <Mapping SourceColumn="SurveyId" DataSetColumn="SurveyId" />
              <Mapping SourceColumn="LibraryId" DataSetColumn="LibraryId" />
              <Mapping SourceColumn="LayoutModeId" DataSetColumn="LayoutModeId" />
              <Mapping SourceColumn="SelectionModeId" DataSetColumn="SelectionModeId" />
              <Mapping SourceColumn="ColumnsNumber" DataSetColumn="ColumnsNumber" />
              <Mapping SourceColumn="QuestionText" DataSetColumn="QuestionText" />
              <Mapping SourceColumn="DisplayOrder" DataSetColumn="DisplayOrder" />
              <Mapping SourceColumn="MinSelectionRequired" DataSetColumn="MinSelectionRequired" />
              <Mapping SourceColumn="MaxSelectionAllowed" DataSetColumn="MaxSelectionAllowed" />
              <Mapping SourceColumn="RatingEnabled" DataSetColumn="RatingEnabled" />
              <Mapping SourceColumn="RandomizeAnswers" DataSetColumn="RandomizeAnswers" />
              <Mapping SourceColumn="PageNumber" DataSetColumn="PageNumber" />
              <Mapping SourceColumn="QuestionPipeAlias" DataSetColumn="QuestionPipeAlias" />
              <Mapping SourceColumn="QuestionIdText" DataSetColumn="QuestionIdText" />
              <Mapping SourceColumn="HelpText" DataSetColumn="HelpText" />
              <Mapping SourceColumn="Alias" DataSetColumn="Alias" />
              <Mapping SourceColumn="QuestionGroupID" DataSetColumn="QuestionGroupID" />
              <Mapping SourceColumn="ShowHelpText" DataSetColumn="ShowHelpText" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="vts_tbAnswerTableAdapter" GeneratorDataComponentClassName="vts_tbAnswerTableAdapter" Name="vts_tbAnswer" UserDataComponentName="vts_tbAnswerTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SurveyDevConnectionString (Settings)" DbObjectName="SurveyDev.dbo.vts_tbAnswer" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[vts_tbAnswer] WHERE (([AnswerId] = @Original_AnswerId) AND ([QuestionId] = @Original_QuestionId) AND ((@IsNull_AnswerTypeId = 1 AND [AnswerTypeId] IS NULL) OR ([AnswerTypeId] = @Original_AnswerTypeId)) AND ((@IsNull_RegularExpressionId = 1 AND [RegularExpressionId] IS NULL) OR ([RegularExpressionId] = @Original_RegularExpressionId)) AND ((@IsNull_AnswerText = 1 AND [AnswerText] IS NULL) OR ([AnswerText] = @Original_AnswerText)) AND ((@IsNull_ImageURL = 1 AND [ImageURL] IS NULL) OR ([ImageURL] = @Original_ImageURL)) AND ([RatePart] = @Original_RatePart) AND ((@IsNull_DisplayOrder = 1 AND [DisplayOrder] IS NULL) OR ([DisplayOrder] = @Original_DisplayOrder)) AND ((@IsNull_Selected = 1 AND [Selected] IS NULL) OR ([Selected] = @Original_Selected)) AND ((@IsNull_DefaultText = 1 AND [DefaultText] IS NULL) OR ([DefaultText] = @Original_DefaultText)) AND ((@IsNull_ScorePoint = 1 AND [ScorePoint] IS NULL) OR ([ScorePoint] = @Original_ScorePoint)) AND ((@IsNull_AnswerPipeAlias = 1 AND [AnswerPipeAlias] IS NULL) OR ([AnswerPipeAlias] = @Original_AnswerPipeAlias)) AND ((@IsNull_Mandatory = 1 AND [Mandatory] IS NULL) OR ([Mandatory] = @Original_Mandatory)) AND ((@IsNull_AnswerIDText = 1 AND [AnswerIDText] IS NULL) OR ([AnswerIDText] = @Original_AnswerIDText)) AND ((@IsNull_AnswerAlias = 1 AND [AnswerAlias] IS NULL) OR ([AnswerAlias] = @Original_AnswerAlias)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AnswerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnswerTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerTypeId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_AnswerTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="AnswerTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RegularExpressionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RegularExpressionId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RegularExpressionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RegularExpressionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnswerText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AnswerText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ImageURL" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ImageURL" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ImageURL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImageURL" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_RatePart" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RatePart" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Selected" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Selected" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Selected" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Selected" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DefaultText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DefaultText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DefaultText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DefaultText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ScorePoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ScorePoint" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ScorePoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ScorePoint" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnswerPipeAlias" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerPipeAlias" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AnswerPipeAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerPipeAlias" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Mandatory" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Mandatory" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Mandatory" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Mandatory" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnswerIDText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerIDText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AnswerIDText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerIDText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnswerAlias" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerAlias" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AnswerAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerAlias" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[vts_tbAnswer] ([QuestionId], [AnswerTypeId], [RegularExpressionId], [AnswerText], [ImageURL], [RatePart], [DisplayOrder], [Selected], [DefaultText], [ScorePoint], [AnswerPipeAlias], [Mandatory], [AnswerIDText], [AnswerAlias]) VALUES (@QuestionId, @AnswerTypeId, @RegularExpressionId, @AnswerText, @ImageURL, @RatePart, @DisplayOrder, @Selected, @DefaultText, @ScorePoint, @AnswerPipeAlias, @Mandatory, @AnswerIDText, @AnswerAlias);
SELECT AnswerId, QuestionId, AnswerTypeId, RegularExpressionId, AnswerText, ImageURL, RatePart, DisplayOrder, Selected, DefaultText, ScorePoint, AnswerPipeAlias, Mandatory, AnswerIDText, AnswerAlias FROM vts_tbAnswer WHERE (AnswerId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@AnswerTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="AnswerTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@RegularExpressionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RegularExpressionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AnswerText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ImageURL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImageURL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@RatePart" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RatePart" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Selected" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Selected" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DefaultText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DefaultText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ScorePoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ScorePoint" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AnswerPipeAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerPipeAlias" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Mandatory" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Mandatory" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AnswerIDText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerIDText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AnswerAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerAlias" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT AnswerId, QuestionId, AnswerTypeId, RegularExpressionId, AnswerText, ImageURL, RatePart, DisplayOrder, Selected, DefaultText, ScorePoint, AnswerPipeAlias, Mandatory, AnswerIDText, AnswerAlias FROM dbo.vts_tbAnswer</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[vts_tbAnswer] SET [QuestionId] = @QuestionId, [AnswerTypeId] = @AnswerTypeId, [RegularExpressionId] = @RegularExpressionId, [AnswerText] = @AnswerText, [ImageURL] = @ImageURL, [RatePart] = @RatePart, [DisplayOrder] = @DisplayOrder, [Selected] = @Selected, [DefaultText] = @DefaultText, [ScorePoint] = @ScorePoint, [AnswerPipeAlias] = @AnswerPipeAlias, [Mandatory] = @Mandatory, [AnswerIDText] = @AnswerIDText, [AnswerAlias] = @AnswerAlias WHERE (([AnswerId] = @Original_AnswerId) AND ([QuestionId] = @Original_QuestionId) AND ((@IsNull_AnswerTypeId = 1 AND [AnswerTypeId] IS NULL) OR ([AnswerTypeId] = @Original_AnswerTypeId)) AND ((@IsNull_RegularExpressionId = 1 AND [RegularExpressionId] IS NULL) OR ([RegularExpressionId] = @Original_RegularExpressionId)) AND ((@IsNull_AnswerText = 1 AND [AnswerText] IS NULL) OR ([AnswerText] = @Original_AnswerText)) AND ((@IsNull_ImageURL = 1 AND [ImageURL] IS NULL) OR ([ImageURL] = @Original_ImageURL)) AND ([RatePart] = @Original_RatePart) AND ((@IsNull_DisplayOrder = 1 AND [DisplayOrder] IS NULL) OR ([DisplayOrder] = @Original_DisplayOrder)) AND ((@IsNull_Selected = 1 AND [Selected] IS NULL) OR ([Selected] = @Original_Selected)) AND ((@IsNull_DefaultText = 1 AND [DefaultText] IS NULL) OR ([DefaultText] = @Original_DefaultText)) AND ((@IsNull_ScorePoint = 1 AND [ScorePoint] IS NULL) OR ([ScorePoint] = @Original_ScorePoint)) AND ((@IsNull_AnswerPipeAlias = 1 AND [AnswerPipeAlias] IS NULL) OR ([AnswerPipeAlias] = @Original_AnswerPipeAlias)) AND ((@IsNull_Mandatory = 1 AND [Mandatory] IS NULL) OR ([Mandatory] = @Original_Mandatory)) AND ((@IsNull_AnswerIDText = 1 AND [AnswerIDText] IS NULL) OR ([AnswerIDText] = @Original_AnswerIDText)) AND ((@IsNull_AnswerAlias = 1 AND [AnswerAlias] IS NULL) OR ([AnswerAlias] = @Original_AnswerAlias)));
SELECT AnswerId, QuestionId, AnswerTypeId, RegularExpressionId, AnswerText, ImageURL, RatePart, DisplayOrder, Selected, DefaultText, ScorePoint, AnswerPipeAlias, Mandatory, AnswerIDText, AnswerAlias FROM vts_tbAnswer WHERE (AnswerId = @AnswerId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@AnswerTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="AnswerTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@RegularExpressionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RegularExpressionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AnswerText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ImageURL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImageURL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@RatePart" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RatePart" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Selected" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Selected" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DefaultText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DefaultText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ScorePoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ScorePoint" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AnswerPipeAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerPipeAlias" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Mandatory" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Mandatory" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AnswerIDText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerIDText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AnswerAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerAlias" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AnswerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuestionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuestionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnswerTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerTypeId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_AnswerTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="AnswerTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RegularExpressionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RegularExpressionId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RegularExpressionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RegularExpressionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnswerText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AnswerText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ImageURL" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ImageURL" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ImageURL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImageURL" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_RatePart" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="RatePart" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DisplayOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DisplayOrder" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Selected" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Selected" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Selected" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Selected" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DefaultText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DefaultText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DefaultText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DefaultText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ScorePoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ScorePoint" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ScorePoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ScorePoint" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnswerPipeAlias" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerPipeAlias" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AnswerPipeAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerPipeAlias" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Mandatory" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Mandatory" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Mandatory" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Mandatory" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnswerIDText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerIDText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AnswerIDText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerIDText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AnswerAlias" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AnswerAlias" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AnswerAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AnswerAlias" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="AnswerId" ColumnName="AnswerId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@AnswerId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="AnswerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="AnswerId" DataSetColumn="AnswerId" />
              <Mapping SourceColumn="QuestionId" DataSetColumn="QuestionId" />
              <Mapping SourceColumn="AnswerTypeId" DataSetColumn="AnswerTypeId" />
              <Mapping SourceColumn="RegularExpressionId" DataSetColumn="RegularExpressionId" />
              <Mapping SourceColumn="AnswerText" DataSetColumn="AnswerText" />
              <Mapping SourceColumn="ImageURL" DataSetColumn="ImageURL" />
              <Mapping SourceColumn="RatePart" DataSetColumn="RatePart" />
              <Mapping SourceColumn="DisplayOrder" DataSetColumn="DisplayOrder" />
              <Mapping SourceColumn="Selected" DataSetColumn="Selected" />
              <Mapping SourceColumn="DefaultText" DataSetColumn="DefaultText" />
              <Mapping SourceColumn="ScorePoint" DataSetColumn="ScorePoint" />
              <Mapping SourceColumn="AnswerPipeAlias" DataSetColumn="AnswerPipeAlias" />
              <Mapping SourceColumn="Mandatory" DataSetColumn="Mandatory" />
              <Mapping SourceColumn="AnswerIDText" DataSetColumn="AnswerIDText" />
              <Mapping SourceColumn="AnswerAlias" DataSetColumn="AnswerAlias" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Test" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Test" msprop:Generator_UserDSName="Test">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="vts_tbQuestion" msprop:Generator_TableClassName="vts_tbQuestionDataTable" msprop:Generator_TableVarName="tablevts_tbQuestion" msprop:Generator_TablePropName="vts_tbQuestion" msprop:Generator_RowDeletingName="vts_tbQuestionRowDeleting" msprop:Generator_UserTableName="vts_tbQuestion" msprop:Generator_RowChangingName="vts_tbQuestionRowChanging" msprop:Generator_RowEvHandlerName="vts_tbQuestionRowChangeEventHandler" msprop:Generator_RowDeletedName="vts_tbQuestionRowDeleted" msprop:Generator_RowEvArgName="vts_tbQuestionRowChangeEvent" msprop:Generator_RowChangedName="vts_tbQuestionRowChanged" msprop:Generator_RowClassName="vts_tbQuestionRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="QuestionId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnQuestionId" msprop:Generator_ColumnPropNameInRow="QuestionId" msprop:Generator_ColumnPropNameInTable="QuestionIdColumn" msprop:Generator_UserColumnName="QuestionId" type="xs:int" />
              <xs:element name="ParentQuestionId" msprop:Generator_ColumnVarNameInTable="columnParentQuestionId" msprop:Generator_ColumnPropNameInRow="ParentQuestionId" msprop:Generator_ColumnPropNameInTable="ParentQuestionIdColumn" msprop:Generator_UserColumnName="ParentQuestionId" type="xs:int" minOccurs="0" />
              <xs:element name="SurveyId" msprop:Generator_ColumnVarNameInTable="columnSurveyId" msprop:Generator_ColumnPropNameInRow="SurveyId" msprop:Generator_ColumnPropNameInTable="SurveyIdColumn" msprop:Generator_UserColumnName="SurveyId" type="xs:int" minOccurs="0" />
              <xs:element name="LibraryId" msprop:Generator_ColumnVarNameInTable="columnLibraryId" msprop:Generator_ColumnPropNameInRow="LibraryId" msprop:Generator_ColumnPropNameInTable="LibraryIdColumn" msprop:Generator_UserColumnName="LibraryId" type="xs:int" minOccurs="0" />
              <xs:element name="LayoutModeId" msprop:Generator_ColumnVarNameInTable="columnLayoutModeId" msprop:Generator_ColumnPropNameInRow="LayoutModeId" msprop:Generator_ColumnPropNameInTable="LayoutModeIdColumn" msprop:Generator_UserColumnName="LayoutModeId" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="SelectionModeId" msprop:Generator_ColumnVarNameInTable="columnSelectionModeId" msprop:Generator_ColumnPropNameInRow="SelectionModeId" msprop:Generator_ColumnPropNameInTable="SelectionModeIdColumn" msprop:Generator_UserColumnName="SelectionModeId" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="ColumnsNumber" msprop:Generator_ColumnVarNameInTable="columnColumnsNumber" msprop:Generator_ColumnPropNameInRow="ColumnsNumber" msprop:Generator_ColumnPropNameInTable="ColumnsNumberColumn" msprop:Generator_UserColumnName="ColumnsNumber" type="xs:int" minOccurs="0" />
              <xs:element name="QuestionText" msprop:Generator_ColumnVarNameInTable="columnQuestionText" msprop:Generator_ColumnPropNameInRow="QuestionText" msprop:Generator_ColumnPropNameInTable="QuestionTextColumn" msprop:Generator_UserColumnName="QuestionText" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DisplayOrder" msprop:Generator_ColumnVarNameInTable="columnDisplayOrder" msprop:Generator_ColumnPropNameInRow="DisplayOrder" msprop:Generator_ColumnPropNameInTable="DisplayOrderColumn" msprop:Generator_UserColumnName="DisplayOrder" type="xs:int" minOccurs="0" />
              <xs:element name="MinSelectionRequired" msprop:Generator_ColumnVarNameInTable="columnMinSelectionRequired" msprop:Generator_ColumnPropNameInRow="MinSelectionRequired" msprop:Generator_ColumnPropNameInTable="MinSelectionRequiredColumn" msprop:Generator_UserColumnName="MinSelectionRequired" type="xs:int" minOccurs="0" />
              <xs:element name="MaxSelectionAllowed" msprop:Generator_ColumnVarNameInTable="columnMaxSelectionAllowed" msprop:Generator_ColumnPropNameInRow="MaxSelectionAllowed" msprop:Generator_ColumnPropNameInTable="MaxSelectionAllowedColumn" msprop:Generator_UserColumnName="MaxSelectionAllowed" type="xs:int" minOccurs="0" />
              <xs:element name="RatingEnabled" msprop:Generator_ColumnVarNameInTable="columnRatingEnabled" msprop:Generator_ColumnPropNameInRow="RatingEnabled" msprop:Generator_ColumnPropNameInTable="RatingEnabledColumn" msprop:Generator_UserColumnName="RatingEnabled" type="xs:boolean" />
              <xs:element name="RandomizeAnswers" msprop:Generator_ColumnVarNameInTable="columnRandomizeAnswers" msprop:Generator_ColumnPropNameInRow="RandomizeAnswers" msprop:Generator_ColumnPropNameInTable="RandomizeAnswersColumn" msprop:Generator_UserColumnName="RandomizeAnswers" type="xs:boolean" />
              <xs:element name="PageNumber" msprop:Generator_ColumnVarNameInTable="columnPageNumber" msprop:Generator_ColumnPropNameInRow="PageNumber" msprop:Generator_ColumnPropNameInTable="PageNumberColumn" msprop:Generator_UserColumnName="PageNumber" type="xs:int" minOccurs="0" />
              <xs:element name="QuestionPipeAlias" msprop:Generator_ColumnVarNameInTable="columnQuestionPipeAlias" msprop:Generator_ColumnPropNameInRow="QuestionPipeAlias" msprop:Generator_ColumnPropNameInTable="QuestionPipeAliasColumn" msprop:Generator_UserColumnName="QuestionPipeAlias" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="QuestionIdText" msprop:Generator_ColumnVarNameInTable="columnQuestionIdText" msprop:Generator_ColumnPropNameInRow="QuestionIdText" msprop:Generator_ColumnPropNameInTable="QuestionIdTextColumn" msprop:Generator_UserColumnName="QuestionIdText" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="HelpText" msprop:Generator_ColumnVarNameInTable="columnHelpText" msprop:Generator_ColumnPropNameInRow="HelpText" msprop:Generator_ColumnPropNameInTable="HelpTextColumn" msprop:Generator_UserColumnName="HelpText" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Alias" msprop:Generator_ColumnVarNameInTable="columnAlias" msprop:Generator_ColumnPropNameInRow="Alias" msprop:Generator_ColumnPropNameInTable="AliasColumn" msprop:Generator_UserColumnName="Alias" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="QuestionGroupID" msprop:Generator_ColumnVarNameInTable="columnQuestionGroupID" msprop:Generator_ColumnPropNameInRow="QuestionGroupID" msprop:Generator_ColumnPropNameInTable="QuestionGroupIDColumn" msprop:Generator_UserColumnName="QuestionGroupID" type="xs:int" minOccurs="0" />
              <xs:element name="ShowHelpText" msprop:Generator_ColumnVarNameInTable="columnShowHelpText" msprop:Generator_ColumnPropNameInRow="ShowHelpText" msprop:Generator_ColumnPropNameInTable="ShowHelpTextColumn" msprop:Generator_UserColumnName="ShowHelpText" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="vts_tbAnswer" msprop:Generator_TableClassName="vts_tbAnswerDataTable" msprop:Generator_TableVarName="tablevts_tbAnswer" msprop:Generator_TablePropName="vts_tbAnswer" msprop:Generator_RowDeletingName="vts_tbAnswerRowDeleting" msprop:Generator_UserTableName="vts_tbAnswer" msprop:Generator_RowChangingName="vts_tbAnswerRowChanging" msprop:Generator_RowEvHandlerName="vts_tbAnswerRowChangeEventHandler" msprop:Generator_RowDeletedName="vts_tbAnswerRowDeleted" msprop:Generator_RowEvArgName="vts_tbAnswerRowChangeEvent" msprop:Generator_RowChangedName="vts_tbAnswerRowChanged" msprop:Generator_RowClassName="vts_tbAnswerRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AnswerId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnAnswerId" msprop:Generator_ColumnPropNameInRow="AnswerId" msprop:Generator_ColumnPropNameInTable="AnswerIdColumn" msprop:Generator_UserColumnName="AnswerId" type="xs:int" />
              <xs:element name="QuestionId" msprop:Generator_ColumnVarNameInTable="columnQuestionId" msprop:Generator_ColumnPropNameInRow="QuestionId" msprop:Generator_ColumnPropNameInTable="QuestionIdColumn" msprop:Generator_UserColumnName="QuestionId" type="xs:int" />
              <xs:element name="AnswerTypeId" msprop:Generator_ColumnVarNameInTable="columnAnswerTypeId" msprop:Generator_ColumnPropNameInRow="AnswerTypeId" msprop:Generator_ColumnPropNameInTable="AnswerTypeIdColumn" msprop:Generator_UserColumnName="AnswerTypeId" type="xs:short" minOccurs="0" />
              <xs:element name="RegularExpressionId" msprop:Generator_ColumnVarNameInTable="columnRegularExpressionId" msprop:Generator_ColumnPropNameInRow="RegularExpressionId" msprop:Generator_ColumnPropNameInTable="RegularExpressionIdColumn" msprop:Generator_UserColumnName="RegularExpressionId" type="xs:int" minOccurs="0" />
              <xs:element name="AnswerText" msprop:Generator_ColumnVarNameInTable="columnAnswerText" msprop:Generator_ColumnPropNameInRow="AnswerText" msprop:Generator_ColumnPropNameInTable="AnswerTextColumn" msprop:Generator_UserColumnName="AnswerText" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ImageURL" msprop:Generator_ColumnVarNameInTable="columnImageURL" msprop:Generator_ColumnPropNameInRow="ImageURL" msprop:Generator_ColumnPropNameInTable="ImageURLColumn" msprop:Generator_UserColumnName="ImageURL" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RatePart" msprop:Generator_ColumnVarNameInTable="columnRatePart" msprop:Generator_ColumnPropNameInRow="RatePart" msprop:Generator_ColumnPropNameInTable="RatePartColumn" msprop:Generator_UserColumnName="RatePart" type="xs:boolean" />
              <xs:element name="DisplayOrder" msprop:Generator_ColumnVarNameInTable="columnDisplayOrder" msprop:Generator_ColumnPropNameInRow="DisplayOrder" msprop:Generator_ColumnPropNameInTable="DisplayOrderColumn" msprop:Generator_UserColumnName="DisplayOrder" type="xs:int" minOccurs="0" />
              <xs:element name="Selected" msprop:Generator_ColumnVarNameInTable="columnSelected" msprop:Generator_ColumnPropNameInRow="Selected" msprop:Generator_ColumnPropNameInTable="SelectedColumn" msprop:Generator_UserColumnName="Selected" type="xs:boolean" minOccurs="0" />
              <xs:element name="DefaultText" msprop:Generator_ColumnVarNameInTable="columnDefaultText" msprop:Generator_ColumnPropNameInRow="DefaultText" msprop:Generator_ColumnPropNameInTable="DefaultTextColumn" msprop:Generator_UserColumnName="DefaultText" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ScorePoint" msprop:Generator_ColumnVarNameInTable="columnScorePoint" msprop:Generator_ColumnPropNameInRow="ScorePoint" msprop:Generator_ColumnPropNameInTable="ScorePointColumn" msprop:Generator_UserColumnName="ScorePoint" type="xs:int" minOccurs="0" />
              <xs:element name="AnswerPipeAlias" msprop:Generator_ColumnVarNameInTable="columnAnswerPipeAlias" msprop:Generator_ColumnPropNameInRow="AnswerPipeAlias" msprop:Generator_ColumnPropNameInTable="AnswerPipeAliasColumn" msprop:Generator_UserColumnName="AnswerPipeAlias" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Mandatory" msprop:Generator_ColumnVarNameInTable="columnMandatory" msprop:Generator_ColumnPropNameInRow="Mandatory" msprop:Generator_ColumnPropNameInTable="MandatoryColumn" msprop:Generator_UserColumnName="Mandatory" type="xs:boolean" minOccurs="0" />
              <xs:element name="AnswerIDText" msprop:Generator_ColumnVarNameInTable="columnAnswerIDText" msprop:Generator_ColumnPropNameInRow="AnswerIDText" msprop:Generator_ColumnPropNameInTable="AnswerIDTextColumn" msprop:Generator_UserColumnName="AnswerIDText" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AnswerAlias" msprop:Generator_ColumnVarNameInTable="columnAnswerAlias" msprop:Generator_ColumnPropNameInRow="AnswerAlias" msprop:Generator_ColumnPropNameInTable="AnswerAliasColumn" msprop:Generator_UserColumnName="AnswerAlias" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:vts_tbQuestion" />
      <xs:field xpath="mstns:QuestionId" />
    </xs:unique>
    <xs:unique name="vts_tbAnswer_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:vts_tbAnswer" />
      <xs:field xpath="mstns:AnswerId" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_vts_tbAnswer_vts_tbQuestion" msdata:parent="vts_tbQuestion" msdata:child="vts_tbAnswer" msdata:parentkey="QuestionId" msdata:childkey="QuestionId" msprop:Generator_UserChildTable="vts_tbAnswer" msprop:Generator_ChildPropName="Getvts_tbAnswerRows" msprop:Generator_ParentPropName="vts_tbQuestionRow" msprop:Generator_UserRelationName="FK_vts_tbAnswer_vts_tbQuestion" msprop:Generator_RelationVarName="relationFK_vts_tbAnswer_vts_tbQuestion" msprop:Generator_UserParentTable="vts_tbQuestion" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>